package com.szly.phm.common.entity.result;

public enum CodeStatusEnum {

    SUCCESS("200", "成功"),
    FAIL("999", "失败"),
    NOT_EXIST_DATA("10001", "数据不存在"),
    WRONG_MOBILE("10002", "手机号不正确"),
    WRONG_PARAM("10003", "错误的参数"),
    WRONG_VERIFICATION_CODE("10004", "错误验证码"),
    WRONG_PASSWORD("10005", "密码错误，请输入正确的密码"),
    UNREGISTERED("10006", "未注册用户"),
    EXIST_USERNAME("10007", "名称重复"),
    EXIST_MOBILE("10008", "该手机号已存在，请勿重复添加"),
    EXIST_Mailbox("10009", "邮箱已存在"),
    EXIST_CertificatesId("10010", "证件已存在"),
    NO_AUTHORITY("10011", "该用户无权限"),
    DIFFERENT_PASSWORD("10012", "新密码与确认密码不一致"),
    WRONG_OLD_PASSWORD("10013", "旧密码错误"),
    WRONG_CODE("10014", "此二维码无对应责任清单"),
    COPY_FAILED("10015", "复制失败"),
    NOT_BIND_FORM("10016", "该履职任务还未绑定表单"),
    NOT_SUBMITTED("10017", "该任务暂未提交，无法审核"),
    NOT_BIND_ENTERPRISE("10018", "用户还未绑定企业"),
    NOT_ENTERPRISE("10019", "非本企业人员"),
    NOT_ENTERPRISE_USER("10020", "非企业用户"),
    EXIST_DATA("10021", "数据已存在"),
    NOT_BIND_JOB("10022", "用户还未绑定岗位"),
    NOT_GOVERN_USER("10023", "非政府用户"),
    ADD_PARENT("10024", "请添加父级总码"),
    EXIST_CODE_REPEAT("10025", "总码不能重复添加"),
    DELETE_CODE_ERRO("10026", "不允许先删除父总码"),
    CODE_NOT_BIND_ENTERPRISE("10027", "二维码未绑定企业"),
    SWITCH_FAILED("10028","切换系统失败"),
    EXIST_DATA_StudentId("10029", "学号已存在"),
    ;

    private String code;

    private String message;

    CodeStatusEnum(String code, String message) {
        this.code = code;
        this.message = message;
    }

    public String getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }

}
